﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace Syx.Webapi.AppCode.Entities {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "JK_SJ_XJ", DisableSyncStructure = true)]
	public partial class JKSJXJ {

		[JsonProperty, Column(Name = "CREATE_DATE", DbType = "DATE(7)")]
		public DateTime? CREATEDATE { get; set; }

		[JsonProperty, Column(Name = "IS_DMR")]
		public sbyte? ISDMR { get; set; }

		[JsonProperty, Column(Name = "IS_FMR")]
		public sbyte? ISFMR { get; set; }

		[JsonProperty]
		public sbyte? ISYANG { get; set; }

		[JsonProperty]
		public sbyte? ISYM { get; set; }

		[JsonProperty, Column(Name = "LIS_DMR", DbType = "VARCHAR2(50 BYTE)")]
		public string LISDMR { get; set; }

		[JsonProperty, Column(Name = "NY_TYPE")]
		public int? NYTYPE { get; set; }

		[JsonProperty, Column(Name = "PATHO_CODE", DbType = "VARCHAR2(50 BYTE)")]
		public string PATHOCODE { get; set; }

		[JsonProperty, Column(Name = "PATHO_NAME", DbType = "VARCHAR2(200 BYTE)")]
		public string PATHONAME { get; set; }

		[JsonProperty, Column(Name = "PATIENT_ID", DbType = "VARCHAR2(50 BYTE)")]
		public string PATIENTID { get; set; }

		[JsonProperty, Column(Name = "SEND_DATE", DbType = "DATE(7)")]
		public DateTime? SENDDATE { get; set; }

		[JsonProperty, Column(Name = "TAB_ID", DbType = "NUMBER(22)")]
		public decimal TABID { get; set; }

		[JsonProperty, Column(Name = "TEST_DATE", DbType = "DATE(7)")]
		public DateTime? TESTDATE { get; set; }

		[JsonProperty, Column(Name = "TEST_NO", DbType = "VARCHAR2(100 BYTE)")]
		public string TESTNO { get; set; }

		[JsonProperty, Column(Name = "VISIT_ID", DbType = "VARCHAR2(50 BYTE)")]
		public string VISITID { get; set; }

		[JsonProperty]
		public int XH { get; set; }

		[JsonProperty, Column(Name = "XJ_REMARK", DbType = "VARCHAR2(500 BYTE)")]
		public string XJREMARK { get; set; }

		[JsonProperty, Column(Name = "YM_NO", DbType = "VARCHAR2(50 BYTE)")]
		public string YMNO { get; set; }

		[JsonProperty]
		public int? ZBXH { get; set; }

		[JsonProperty, Column(DbType = "VARCHAR2(50 BYTE)")]
		public string ZYID { get; set; }

	}

}
